package day05;

import java.util.Arrays;
import java.util.Scanner;

public class txt4 {
    public static void main(String[] args) {
//        Scanner s=new Scanner(System.in);
//        String b="";
//        while (true){
//            String inputstr=s.nextLine();
//            if (inputstr.equals("bye"))break;
//            b=b+inputstr;
//            b=b+" ，";
//            System.out.println(b);
//
//        }

        String[]  w={"","",""};
        int i=0;
        while ( i<=2){
            Scanner s=new Scanner(System.in);
            String inputstr=s.nextLine();
            if (inputstr.equals("bye"))break;
            w[i]=inputstr;
            System.out.println(Arrays.toString( w));
            i++;
        }






    }
}
